package com.letoken.platform.repo.admin.res.user;

import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;


/**
 * @author letokenlabs
 * @date 2022/11/23$
 */
@Data
@ApiModel(value = "闪兑记录返回对象", description = "闪兑记录返回对象")
public class QueryQuickswapListRes {


    @ApiModelProperty(name = "userId", value = "用户id", required = true, example = "admin")
    private String userId;

    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @ApiModelProperty(name = "createTime", value = "闪兑时间", required = true, example = "1")
    private LocalDateTime createTime;

    @ApiModelProperty(name = "fromType", value = "支付币种（USDT  LET）")
    private String fromType;

    @ApiModelProperty(name = "fromAmount", value = "支付数量")
    private String fromAmount;

    @ApiModelProperty(name = "toType", value = "接受币种（USDT LET）")
    private String toType;

    @ApiModelProperty(name = "toAmount", value = "接受数量")
    private String toAmount;

    @ApiModelProperty(name = "toAmount", value = "订单编号")
    private String orderId;

    @ApiModelProperty(name = "exchangeRate", value = "汇率")
    private String exchangeRate;


}
